package com.liukai.todo.utils;

import org.springframework.stereotype.Component;

import java.util.UUID;

@Component
public class UUIDUtil {

    /**
     * 获取UUID
     * @return
     */
    public String getUUID(){
        return UUID.randomUUID().toString().replace("-", "");
    }

}
